home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / lang / perl_bin.lha / make_perl_links next >
Encoding:
Text File  |  1996-09-12  |  470 b   |  20 lines

  1. #!/ade/bin/perl
  2.  
  3. $ade = '/ade';
  4.  
  5. chdir("$ade/bin") || die "Could not cd to $ade/bin !\n";
  6.  
  7. unlink('perl');
  8. symlink('perl5.003','perl') || die "Could not create link 'perl' !\n";
  9.  
  10. unlink('perl5');
  11. symlink('perl5.003','perl5') || die "Could not create link 'perl5' !\n";
  12.  
  13. chdir("$ade/man/man1") || die "Could not cd to $ade/man/man1 !\n";
  14.  
  15. unlink('perl.1');
  16. symlink('perl5.1','perl.1') || die "Could not create link 'perl.1' !\n";
  17.  
  18. chdir($ade);
  19. unlink('make_perl_links');
  20.